Wrapped primitives; Re-designed cost and output objects