Remove remote and router.