Fixed doc generation