Remove redundant snippets