Collection class for handling arrays and objects.