Added a vec4 implementation.