Adding query template var.