Added read/write byte functions.