Forgot string emptiness checks can be done in a simpler way.