Better way to read templates.