Template filling uses models