Simplify type of ms_srcimps and ms_textual_imps.