Changed trees to use parent.plugins instead of site.plugins