protected function _removeVersions(Event $Event) {
		if ($this->_checkEvent($Event)) {
			$data = $Event->getData();

			$Storage = $data['storage'];
			$record = $data['record'];
			foreach ($data['operations'] as $version => $operations) {
				$hash = StorageUtils::hashOperations($operations);
				$string = $this->_buildPath($record, true, $hash);
				if ($this->adapterClass === 'AmazonS3' || $this->adapterClass === 'AwsS3') {
					$string = str_replace('\\', '/', $string);
				}
				try {
					if ($Storage->has($string)) {
						$Storage->delete($string);
					}
				} catch (\Exception $e) {
					$this->log($e->getMessage());
				}
			}
			$Event->stopPropagation();
		}
	}