Adding missing alarm functions.