add SnippetGenerator