Avoid reallocations with variadic arguments.

Thanks to huon for pointing that out.