Add loop sub statement support.