Refactored all the direct calls to CallGraph properties present in XmlFormater and moved them to BaseFormatter.