Code snippets fixes.