Allow overriding the templating engine