[for_each] Remove unused typedefs