Friendlier DI for minification compatability

Change functions to use the list & string dependency injection notation, to make DI possible when minified.