Setting TopologyType as the alias to uint8