Added ids to the templates.