Cleanup ContextSnippetGenerator