Added stubs. Fix position for read/write.