Added predictionArray as property instead of an instance variable so its getter and setter can be generated by the framework.