Refactor: dry redundancies

This dries some duplication. I am not sure the name ´ptypemethods` is such a good name. What do you think ?