Remove unwanted snippets