Fix foreach documentation