Style: could we switch this to return early if it is nil?

```objc
if (newRef == nil) return nil;
...
```