- Moved foreach logic to codegen