WeakReference for non-gwt implementation