Fix several style warnings in generated bindings