[1.7.x] Update docs to be more clear about nested classes (refs #23418)