Avoid registering the route twice.