Contains monitoring-related code