Rename ptypemethods into nativetypemethods