This can use an early return instead.