init_record-class function

Init record class.