After shifting out the FlameEmitter code to different file