Added flow.units to the object returned by loadReg