Sample code fixes.