Nil here is an error, so handle it.