Remove unused functions, strip-unit and set-unit.