public function AddClass(
        \Peg\Lib\Definitions\Element\ClassElement $class, 
        $namespace = "\\"
    )
    {
        $this->CreateNamespace($namespace);
        
        $class->header =& $this;
        $class->namespace =& $this->namespaces[$namespace];

        $this->namespaces[$namespace]
            ->classes[$class->name] = $class
        ;
    }