Performed clean-up on AbstractView (fixes #767)