Crystal structures of protease nexin-1 in complex with heparin and thrombin suggest a 2-step recognition mechanism.