Improved the XML settings class