Improved API by removing Bytes namespace