Fungal endophytes can modulate plant invasion.