Cleanup default config code.