API is improved if you actually specify all the required args and kwargs in the function definition.  Just glopping a bunch of stuff into `config` obscures the actual dependencies.