Included ability to set the number of array dimensions.