Add acc_event_record and acc_event_query.