Use a safer way to get default config.