Made it possible to get type from base classes, in SimpleList class.