code: function setupEvents(classDef) {
    classDef.mixins.filter(mixin => mixin.events).forEach((mixin) => {
      classDef.events = classDef.events.concat(mixin.events);
    });
    classDef.events.forEach(eventName => setupEvent(classDef, eventName));
  }
docs: /*
  Add all mixin events in, and then call setupEvents on each event