Added ReallocObserver(), and associated code as well.