First working version of generated bindings