Add macro reader for quaternion and vector3.