Support for virtual classes.