Made Ref<T>.(non)null protected, removed most instances of their use (they are only used internally by RefSC classes).