public function setVariables($variables, $overwrite = false) {
        $this->initViewModel();
        try{
            $this->viewModel->setVariables($variables, $overwrite);
        } catch (Exception\InvalidArgumentException $e) {
            throw new Exception\InvalidArgumentException($e->getMessage());
        }
    }