Make a useful constructor for Client.