Remove triple newline in generated code
Handle var-args properly