Add and modify some snippets.