Some code snippets.