Minor changes in Request and Resource class.