Added a special variable prefix index_ for accessing the current iteration index.