allow to not pass an event function in defining an event
1.0.5