documentation and generator update, small bugfixes