Make sure all classes inherit from object