Added save request middleware.