Better docstring for register_with_event_loop