On the origin and function of pili.