Add temporary possibility to publish events inside event handlers, but we need to remove this and find a way to implement sagas