Add spec for template.

Change-Id: I3b28785f61fae78e3a3261855e8997f0fdee1715