Remove unused uniforms.