Fixed call to templating engine. Fixes issue #3.