implemented add methods for RestClient