minor PrimOp code enhancements