Removes outdated code from server.