Improvements to c.snippets by melko.