function &traits()
    {
        $traits = NULL;
        foreach ($this->_classes as $name => $trait) {
            if ($trait->isTrait()) {
                $traits[$name] =& $this->_classes[$name];
            }
        }

        return $traits;
    }