Bug fix in client.rb.