Fixed bug caused by Request conctructor change.