Changed notfify to onNotify in the EventCallback interface