That PhysValue class is weird in that it does not have a 'getUnit' method. Seems easy to add:function PhysValue:getUnit () return self.symbol endOr maybe the user should just index 'symbol', but that's a weird name for unit.