Increased positive affect is associated with less generalization of pain-related avoidance.