public function synchronizeTreeOffline($vocabulary, array $categories, $storeId = '') {
    $this->resetResults();
    $this->loadVocabulary($vocabulary);

    // Recurse the category tree and create / update nodes.
    $this->syncCategory($categories, NULL, $storeId);

    return ($this->results);
  }