Updated the auto-generated documentation.

Put some comments into the source as well.