-- save models anymore.
if rawget(model, name) then
- error('We decorate the class, not the objects, and there is a ' .. name .. ' in ' .. model)
+ error('We decorate the class, not the objects, and there is a `'
+ .. name
+ .. '\' function in '
+ .. tostring(model))
end
local toDecorate = getmetatable(model)