Some work for alarms in server main and the xml serializer