Predefined uniforms refactoring.