Made Ref<T>.nonnull protected, removed most instances of its use (now only used internally by RefSC classes). Cannot do the same for .null() due to the interaction with RefSCDimension::operator int, etc.