Would it be better in the long run to pass the whole `config` object through to `createInjector`?