The reference to the generator is available to permit control over the EventGenerator within the defining code.