Dont't try to use non functions as handlers, in case of collisions between event types and other fields (e.g. timeout)