Fix inheritance for config types.
Remove the ILogger interface.

Fixes #3860