Modify Stories.php to execute on PHP 5.3.x