Factory should emit event when mixin is defined