Fixes #345 - CallbackHandler throws warning if WeakRef-extension not installed