public function addDependencies(array $dependenciesToAdd) {
    $this->setCollectedDependencies(array_merge(array_unique(array_merge($this->getCollectedDependencies(), $dependenciesToAdd))));
    return $this;
  }