Add support for templating in non source-files.