Change scanner internal methods to deal with runes instead of strings.