Add attributes to tasks from the tasks template.