Remove obsolete generators.