Add an enum for server states.