Add support for fetching configuration values with a default.