The role of sodium chloride in the preparation of soap is to?