Minor - adding docs, cleaning code.
Minor - corrections.