Array utilities.