Added documentation to views.index