Export Z-Depth to EXR

I understand it’s possible to get a Z buffer in an EXR export. I can’t seem to do it (Using Harmony 15.0.3).

Is there some secret other than just piping something into a Write module, and setting the Write module to export EXR?

Figured it out. Need to put a Comp before the Write and set the Comp to 3D.