Added and improved some snippets.