Fixed up Oscillator class osc.type setting.