Text this: Nitrogen-fixing microbes gain genes in diverse types of living environments.