Made messages for array type errors more descriptive.