Updated the documentation for snippets