Make ABCMeta the metaclass of BaseModes