Fixes distributed object event handling. 

Additionally fixes #652.