Default implementation of predict with predict_storage.