Added some support for making multiple predictions.