Correct expected_type for parameters taking arrays