Allow returning `nil` from stubs on appropriate methods

Without needing to do ugly things like `(id)nil`

[#38236493]