How do you remove the pin from a door hinge? I was looking at the old ones and they have lip on the top and bottom.

Thanks