Split out templates.