Fix method visibility (View.php)