Configurable event handlers.