Improve the implementation of FreshRecord.