Support for BEGIN/END blocks, add FOREACH keyword.