public function addClassBodyStyles($styleNames, core_kernel_classes_Class $itemClass, $recursive = true){
        $updatedItems = [];
        $items = $itemClass->getInstances($recursive);
        foreach($items as $item){
            if($this->isQtiItem($item)){
                if($this->addBodyStyles($styleNames, $item)){
                    $updatedItems[] = $item;
                }
            }
        }
        return $updatedItems;
    }