Remove side effect in ConfigWrapper