protected function dispatchEventWithModel($name, Model $model)
    {
        $this->pool->eventService->dispatch(
            static::$eventPrefix . '::' . $name,
            $this,
            $model
        );

        return $model;
    }