Use a class for the configuration DSL.
Minor improvement on how settings are fetched.