Ensure that a base class is not registered after a descendant.
Update the debug message.
Merge branch 'feature/complex-inheritance' into develop