Fix typos/bugs in examples.