Improved documentation in client.go