Remove DeprecationWarning base class