Remove obsolete snippets.