Use proper gradients.