Added a UnitType enum and a map in Unit to UnitTypes.