Added support for vec4 parameters.