How would that affect yaml files using ScaledCost as an object? Would a function with the same name be transparent?
Or should we define ScaledCost as a sub-class of SumOfCosts?