Add #read and #write to CLI classes as a step toward allowing chaining.