Cleanup processInvalidations.
Fix ByteArray bindings.
Merge pull request #1044 from tobeytailor/master

Misc fixes and cleanups