Changed $view to $_view so that we don't conflict with a user set variable.