Added some skeleton functions in the view.