Remove rest client reference