If the listener were to output everything and call exit_handler then they would be fine, but I would think it may be preferable to set the active module (will also need to pass $module) and let mcp handle the rest.