region code constants are now enumerations

thanks to feedback from @MattOates++