Add HasBlocks to abstractBlock.