Use rest parameters whenever it makes sense.