Some asserts in getEventObj needed to be static.