Generate template (unchanged as of yet).