Removed meaningless second parameter.
Changed second parameter of getConfig for more flexibility.