Added gradients mixin from nib.