Reverted a commit that messed up the RESTRequest class