Added MonitorBasedSaveBestAfterKEpochs.