loadConfig can be passed config object.