Fixes and documentating the generator of initializer file