Fix if method setEvents(IEventModel $events) wasn't called.