Remove use of rest params and speed up iter.