Adding client_defaults to client factory