Changed types of base interface classes.
Usage of high-level abstract interfaces is excessive so base class types
are switched to EntityClass interface.