Some code examples for developer documentation.