Add var declarations as for loop control statements