Item and AVItem should exist as real classes in ExtendScript
ExtendScript documentation says that CompItem and FootageItem are subclasses of AVItem (and AVItem, in turn, is a subclass of Item). The problem is neither Item nor AVItem are actually defined in ExtendScript. Running
item instanceof AVItem throws an error because AVItem is undefined!