the only line i see that modifies a config is 156. and then there's modification of a newly cloned config on 170. i think you could avoid a deep clone in both cases by using `_.extend {}, some_config, new_props` or `_.deepExtend`

for instance, lines 169 and 170 could become

```coffee
_.extend {}, mod_config, {type},
```