Have base use uint instead of string in templates