Documented the undocumented snippets. Removed some unnecessary snippets.