This should be ready to just be passed in as a request handler.