Added a way to construct arbitrary units.