Generate code with variadic calls
Fix reference generation
Finish generating varadic params