properly deprecate .setConfig()