Finished API docs.  Fixes #9.