Fixed snippets. Closes #47