Fix if method setEvents(IEventModel $events) wasn't called.
Merge pull request #1 from Dragonn/patch-1

Fixed bug if IEventModel wasn't set for the component.