Make ClassWrapper instances comparable and hashable using their pointer value
cleanup: del implementation can be a simple static function