Add some more documentation in the Generator class.