[RFC] define missing class variable $generator

:+1: