Doc generation fixed