Remove useless method in Server.php