Add patch snippets