Simplify LIST_FOREACH