Documentation updates.

  Added documentation for methods missing them, and cleaned up a little.