Ecosystem modeling in theory and practice.