Small code cleanup for multidimensional array.