protected function container(Table $table, array $rows, array $headers, array $footers)
	{
		$html = '<table';
		$this->addAttributes($html, $table->getAttributes());
		$html .= '><thead>';
		$html .= implode("\n", $headers);
		$html .= '</thead><tbody>';
		$html .= implode("\n", $rows);
		$html .= '</tbody><tfoot>';
		$html .= implode("\n", $footers);
		$html .= '</tfoot></table>';

		return $html;
	}