Fix parsing of blocks.