public function tableHeaders(array $names, array $trOptions = null, array $thOptions = null)
    {
        $out = [];
        foreach ($names as $arg) {
            if (!is_array($arg)) {
                $out[] = $this->formatTemplate('tableheader', [
                    'attrs' => $this->templater()->formatAttributes($thOptions),
                    'content' => $arg
                ]);
            } else {
                $out[] = $this->formatTemplate('tableheader', [
                    'attrs' => $this->templater()->formatAttributes(current($arg)),
                    'content' => key($arg)
                ]);
            }
        }

        return $this->tableRow(implode(' ', $out), (array)$trOptions);
    }