Added doc string to read() and write() calls