Made function serviceAlarms public.