Added snippets. Closes #22