Fix typo, clean up code examples