Handle arrays properly.