Problem is that ClientBuilder is an interface now and methods can only be declared public. Therefore, this operation will be visible to everyone and that is wrong. I deleted the setter method because if we are using Groovy for testing and it allows private fields to be modified. An alternate solution would be to add this setter to the DefaultClientBuilder class (but not to the interface). I think that would be the best approach. Do you agree?