Dismantles the generator