Update references to ofEvents