Added Mattt's snippets.