Extended the new code style to the Quaternion based motions base class