Code/interface cleanup and documentation.
7 files changed