Remove useless snippets