Added snippets and references under docs.