Supports keywords in loop conditionals. Closes #477.