protected function completeResponse(EventManagerInterface $events, MvcEvent $event, ResponseInterface $response)
    {
        $event->setName(MvcEvent::EVENT_FINISH);
        $event->setTarget($this);
        $event->setResponse($response);
        $event->stopPropagation(false); // Clear before triggering

        $events->triggerEvent($event);

        $this->response = $response;

        return $this;
    }