defineMixin should trigger an event when a mixin is defined