Modify TransitionStyle.prototype.add