Externalize settings loading to allow overriding.