An exemplary method includes detecting a first atrial event, initiating a detection window after detecting the first atrial event, detecting a second atrial event during the detection window, classifying the second atrial event as a premature atrial contraction and calling for delivery of an atrial extrastimulus in response to the premature atrial contraction. Various other exemplary technologies are also disclosed.