Accept any callable in CallbackPrediction

This change is similar to the change done in CallbackPromise in #66