Modularity and genericness in plant and ecosystem models