Use int for string methods instead of int64.