protected function doDesiccation($object)
{
$type = $this->getTypeForObject($object);
$desiccator = $this->getDesiccatorForType($type);
$raw_object = $desiccator->desiccate($object);
$object->setSha($raw_object->getSha());
$this->unflushed_objects[$raw_object->getSha()] = $raw_object;
}