Modifying method "notifyObservers" of concerned class.