Modify Pagecontroller.php to PSR.