Move Gradient to its own instance.