Template: Add support for Streamed templates.