Started changes for LFU. Need to be tested still.