Add support for passing uniforms.