Small sample code tweaks.