removing the old DocumentObserver definition (and updating the new one).