Add transition mixin.