Added block-parsing functions