Account for arrays of objects.