removed all setters from restclient