(#1) -  Error when using config object

Exclude `config` from patching. Closes #1.