FimC is a periplasmic PapD-like chaperone that directs assembly of type 1 pili in bacteria.