Finish documenting client.

This solves issue #4.