fix for #23 : provided Optional parameter support in generated code