Create a unit type