public void add(CompanyInstance ci, UserInfo ui) { RestClient rc = new RestClient(ci, ui); rc.afterPropertiesSet(); add(ci, rc); }