Add Loader class with view() method.