Update client.go with comments.