Updated the Request class