Fixes #5836: doc fixes.