When any of these methods is called (setMode, getMode & setLang) , line 255 will try to reload their respective classes. This is because different classes have methods with the same name (Date, Query, Soundex, CompressStr).
However, this leads to invoking the wrong class. For example, calling Query::setMode, will invoke Date::setMode because Date comes before Query in the config.xml