Fixed wave_type declaration