Minor modification to work with bytes.