Isn't `str` ok here? It should be a number, so it doesn't matter if it is a `unicode` or `str`?