Move data to templates