Ensure that a base class is not registered after a descendant.
Update the debug message.