Make RecordEvent inher from threading.