started to clean up RestSharp code