Add Matrix3D and Vector3D stubs.