Added changes to allow custom units to be initialized. However, at this current moment it is possible to use CU…UnitTypeCustom as the base unit type. This will cause bad things to happen. Don’t do it!