Added comments to client.go.