Add support for using callables as configuration values