Made an array of pointers to class objects.