Fix indexing for byte arrays
Improve documentation
Use string verb for data in log message