Add mode to server model