Add some documentation to the commentary.

Fixes #2.

Also, fix a typo in a docstring.