Restore the object base classes, those are required for Py2 compat.