Move the shader implementation outside.