Fix. type of read stream callback.