decorate.elm function

Decorates an "elm" object with a "model" element.