Add paxed's gradients