Update docs to be more clear about nested classes (refs #23418)