Add prim_fork to primitives.