Fixed regression in RestClient constructors