Changed the route mapping to be just a callable.