public function AddFunction(
        \Peg\Lib\Definitions\Element\FunctionElement $function,
        $header,
        $namespace="\\"
    )
    {
        $this->AddHeader($header);

        $this->headers[$header]->AddFunction($function, $namespace);
    }