Refactored class View.