Remove rest client constructor.