These could be slightly simplified by [returning early](https://github.com/github/objective-c-conventions?source=c#control-structures).