Changed visibility of RESTClient to public