Minor tweaks and fixes to examples.