Introduce templating helpers to allow replacing Twig as templating engine