public function build() : Response {
		$view_root      = '';
		$template_name  = $this->get_template_name();
		$file_extension = $this->get_file_extension( $view_root, $template_name );
		$view_data      = $this->view_data;
		$content        = '';

		if ( 'handlebars' === $file_extension ) {
			$view = new Simple_Handlebars_View(
				$view_root,
				$template_name,
				function ( $engine ) use ( $template_name, $view_data ) {
						return $engine->render(
							$template_name,
							$view_data
						);
				},
				$this->path_to_views
			);
			$content = $view->output();
		}

		return new Response(
			array(
				'content' => $content,
				'head'    => $this->head_data,
			)
		);
	}