Remove unnecessary imports from deprecated config files