Added version of BatchEmitOwnedPtrs and BatchReadOwnedPtrs that emits/reads