Fixes parameter defs for raw and quality_flag