Complete implementation of loading history data.