public function unsetProperty($name)
{
$this->checkState();
$this->setModified();
if (!array_key_exists($name, $this->properties)) {
throw new ItemNotFoundException('Implementation Error: Could not remove property from node because it is already gone');
}
$this->deletedProperties[$name] = $this->properties[$name];
unset($this->properties[$name]);
}