Add `type` attribute to OscillatorNode