Clean up work for route methods.