Modify Transition.prototype.retreat