Fixing a couple of typos in code snippets