An allosteric switch controls the procoagulant and anticoagulant activities of thrombin.