public function getMessages($replicator_id = null)
    {
        $messages = array();

        if ($replicator_id !== null) {
            $messages = $this->getClonedWidget($replicator_id)->getMessages();
        } elseif ($this->replicator_id !== null) {
            $messages = $this->getClonedWidget(
                $this->replicator_id
            )->getMessages();
        }

        return $messages;
    }