The Template class accepts both a hash reference and a hash to get the configuration arguments. And the Dancer framework passes those as a hash. Change-Id: Ic9ae758bd81a2bb3108900e6f92ad91ad88f3cc9