Some cleaning and improvements to the snippet files.