Add ByteUtil and get rid of compile errors