Initial sketch for the generic data-transfer interface.