Implement Vector4 factory