`hasnum` isn't used, so maybe we can remove it.