Added methods to store prediction data.