Correction to the generator methods.
TDD example.
Fixed imports.
Exercises from the book.