public function addTxref($txref)
    {
        if (!$this->getTxrefs()) {
            return $this->setTxrefs(array($txref));
        } else {
            return $this->setTxrefs(
                array_merge($this->getTxrefs(), array($txref))
            );
        }
    }