protected function addGlobalNode(\SimpleXMLElement $configXml, $type, $classSuffix)
{
$this->removeChildNodeIfNotNull($configXml->global, $type);
$global = $configXml->global ? $configXml->global : $configXml->addChild('global');
$globalNode = $global->addChild($type);
$moduleNamespaceNode = $globalNode->addChild($this->getLowercaseModuleNamespace());
$moduleNamespaceNode->addChild('class', $this->getModuleNamespace() . $classSuffix);
}