(un)register_connection methods for handlers.