Remove config from routes.