Made it possible to load settings by settings.xml.