Text this: On the group of unit-valued polynomial functions