Add missing documentation

This PR adds both missing inheritance- and missing
memberof-documentation in the sources of (hopyfully) all
types where it was missing.

Please point me to places I may have missed in this PR.