Extracted methods from Shader class to a helper