Add rest client as dependency.