Refactored prediction candidates into separate class.