Hi thanks for this lib! I wonder whether you manually write down all code, or use a code generator to do the bindings?