Update ByteArray class to wrap functionality around the byte array.