Reformatting templates