Fix fromConfig() function name.