Factor all alert management into opt in common class.