i think this was necessary to ensure that the if the user uses an extension in the url that its applied to the route. however we should probably detach the route documents from the document manager.