Making the router.reset remove all event handlers.