Make all the classes inherit from object.