Adds documentation to model and view.