Remove generator.