Use internal quaternion classes.