Collapsing the abstract classes/interfaces.