Fix syntax-error in generated functions.