[RFC] define missing class variable $generator