made AbstractRestClient.decorator protected