Move config classes to top level.