Adds the base of templates.