[MAGEMEP-113] Using collection to get inheritors