semantic: Check parent classes when dealing with aggregates.