Minor changes to RestResponse class