Strip out unused parts of the server