Fixed typos.
Updated documentation.
Cleanup.