Might be good to make sure that `ch_type` is valid.