Added forecast functionality.