public function setViewsExtension(string $extension)
  {
    if (substr($extension, 0, 1) != '.') {
      $this->viewsExtension = '.' . $extension;
      return $this;
    }

    $this->viewsExtension = $extension;
    return $this;
  }