Added to the documentation.

Also made existing documentation conform to Python's standard
comment format for functions.