made RestClient non-final