public function unserialize(TranslatableInterface $translatable, $targetLang, $xliff, $callSetData = TRUE) {
    // First, validate the provided xliff.
    if ($this->validateImport($translatable, $targetLang, $xliff)) {
      // If valid, return the imported data as an array.
      $data = $this->import($xliff);

      // Call TranslatableInterface::setData() on the translatable if desired.
      if ($callSetData) {
        $translatable->setData($data, $targetLang);
      }

      return $data;
    }
    else {
      // If there was an error, return an empty array.
      return array();
    }
  }