Add class hierarсhy without realization