Monitoring activities and recording them.