Fix example snippets.