Various Code Snippets.