Add the EMS data transformation function.