Small event service fix.
Improvements for portable serialization.
cleanup
Merge branch '3.binary' into 3.0