Not all content modifications are done through the EditContentFunction (like for import and synchronization for example), but on these modifications, we call a workflow action to define we have modify the content. Then we should be able to call a workflow function to extract outgoing references without passing through the EditContentFunction.