Anonymous definitions in foreach blocks triggered a 'def already exists'