Code Snippets sample revised.