Ecosystem stability, competition and nutrient cycling.