Update a few of the code examples.