Fixing ambiguity because of T* and CowPtr<T> cast.