Addes monitoring functions.