removes is-unit and is-string funcs