Move event listener registration into contao/event_listeners.php.