protected function toDocuments(array $docs = array())
    {
        if (isset($docs['rows'])) {
            $rtn = array();

            foreach ($docs['rows'] as $row) {
                $rtn[] = $this->toDocument($row['value']);
            }

            return $rtn;
        } else {
            return array();
        }
    }