Clean up; change variable name to _view_func