Add hack to work on mac

AutowiringEvents isn't being registered in the EventRegistry