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

This reverts commit 5ba194cc7cd072f93d5f01039e3630374786db18.