This patches fixes a bug not applying documentation changes in ClassGeneralPage in cases where a widget is used. (cherry-picked partly from commit 21b88fad)