make it can wrap AVObject to HxAVObject subclass type