issue  #2377:Remove registerNotificationHandler function