Added ability for UoW listeners to modify events before publication