Issue #18104: revise docstrings, remove obsolete comments.