Fix doc generation error.