Shorter syntax: do_foreach() -> do_for() + General clean-up