define missing class variable $generator
Merge pull request #26 from cordoval/patch-1

[RFC] define missing class variable $generator