Made ObjectCache not dependent on whether or not WeakCallback or object destructor is called first. (hopefully)