Adds a getModel method on the view

Not used, but seems to be required for views in the editor.