Add Operator interface. Fixed bugs in Alarms.