Fix up snippets