Changed coding style of snippets.