Extracted RestClient.