GradientHandler class.