Miscellaneous support for input/output of data.