Added wrapper api for AddObserver listener