Extract some logic to RecordStore