Merged ShaderLoader methods into Shader.