Adding base class for arrays