wow, the orm seems to have a quite incomplete refactoring there. see https://github.com/doctrine/doctrine2/blob/master/lib/Doctrine/ORM/UnitOfWork.php#L552-L556 for example...

the orm does https://github.com/doctrine/doctrine2/blob/master/lib/Doctrine/ORM/UnitOfWork.php#L3328-L3340 for the flush - i think invokeGlobalEvent or something without a 
document argument at all would be the way to go.