Allow to bind closures to the EventDispatcher