Biodiversity and changes to ecosystem functionality