Collect array types in map.