Code simplification
No need to use d->m_loadedGenerators to find the generator since we already have m_generator