preserve Transition.prototype.constructor