Clean up snippets