Add Function.forEach method