Fixed handling of varargs