events: add Event.doc attribute that got lost during new-events.

fixes #69