Clean up some snippets