root_code and code_prefix are actually integers.