Some minor tweaks to the code examples.