Renamed class_session to activity