Do not mutate passed-in config obj

Fixes #12