Port `each` helper