Need endif and begin when multiline.
Need begin and endfor. Also end at end of file.