Move pyquaternion methods into the relevant structure