Improve code examples, from issue #1