Counteracting obstacles with optimistic predictions.