Fix issue with having arrays in base classes.