iMedian and UnitObject improvements