Minor fixes to examples