Add setClient in remote object adapter