Add deprecate warning for RESTClient