Fix dispatch by array.