Fixes #245 for byte arrays.