protected function __afterInsert(\Owl\DataMapper\Data $data)
    {
        $policy = $this->getCachePolicy();
        $id = $data->id(true);

        if ($policy['insert']) {
            $record = $this->unpack($data);
            $record = $this->removeNullValues($record);

            $this->saveCache($id, $record);
        } elseif ($policy['not_found']) {
            $this->deleteCache($id);
        }

        parent::__afterInsert($data);
    }