Modify Transition.prototype.advance
Modify Transition.prototype.halt
Modify Transition.prototype.retreat