NodeAdapterFactory should not hold a reference to the owner document.