Added documentation.
Mistakenly checked in a work in progress.