Hack to support arbitrary units in binary types