public function setData(\stdClass $data)
    {
        $this->storage->openWriter();
        $object = $this->getObjectSafely('openWriter');
        $object->setData($data);
        $this->storage->setObject($object);
        $this->storage->close();
        return $this;
    }