Adding in a URL helper middleware.