Fix code examples.
Improve comments.