Split InheritDoc class into InheritClass & InheritMembers.

Improve the documentation significantly.

Now the messy part is contained in the InheritMembers class.