Fixed syntax error in the generated wrapper