Structure of an essential type IV pilus biogenesis protein provides insights into pilus and type II secretion systems.