Add missing call to setEvents method