Merged defineMany into define for model. Added support for array of events in events.on().