Revert "Adds stubs of missed interface types."

This reverts commit 6b3d948f97eef8918f3fe29569609ffb77504b9f.
Fixes incorrect null checking of dynamic object in Config.