Add support for Vec1, Vec2, PVec3, Vec4.