Add for loop snippet.