Modifies routes.