Adding all missing methods, il a rough way, to let the code compile.
Added TODOs along the generator and generated code.