More idiomatic nil handling.