Adds read and write commands to data slots.