Added Handlebars templates handling