Remove dead code from server.