Clean up router.