Add support for multiple html templates.