Added some code to make alarms show up in the UI.