Improvements to ShaderUniforms.