Updating code examples.