public function removeVersionLabel($label)
{
if (!$this->hasVersionLabel($label)) {
throw new VersionException("No label '{$label}'");
}
$version = $this->versionLabels[$label];
$this->objectManager->removeVersionLabel($version->getPath(), $label);
unset($this->versionLabels[$label]);
}