Unified type definition for Object and Class