Removed routes and added a dispatcher.