Add tools to set dimension and unit to value type