Updated the eventManager to work with the new SDK refactoring.