Renamed dat_to_kwd into raw_to_kwd.