Add missing call to setEvents method
Merge pull request #18 from zapoyok/master

Ooops. Thanks!