Add root attribute to services.