Simple method for declaring and using configuration settings with an environment context