shell: Comment internal members, too

Closes #979.
Merge pull request #1065 from Kijewski/issue-979-2

shell: Comment internal members, too