Made changes to ReadReq and writeReq methods.