Primitive setup functions receive a primitive by arg.
Reorganize how primitive setup functions are placed.