Tidy up templates for EDCM data compilations.