Add support for adding redirects to the router.