Fixed some example snippets