Added hook for predict values.