Microbial functional diversity enhances predictive models linking environmental parameters to ecosystem properties.