Inherit from new classes specified in deprecation warnings.