Added UnitOfMeasure class.