made $view chainable.