Fixed stream read() / write() to be the only mediators for data access.