allow multiple templates in headers, too.