Modify Transition.prototype.terminate
Modify Transition.prototype.toString