Removed duplicate removeObserver calls.