API: add deprecated ch_names parameter for backwards compatibility