Support undefined elements in Arrays