Added interface to io.reader.