Added support for custom Handlebars templates.