The disco registration process for items of the server can be rather confusing if an item can be added or removed dynamically. Streamline this process so that the desired result of a component being completly added or removed can be achieved easily and transparently... And not cause recurring issues.
This required a minor API change:
the addServerItemsProvider method was changed from private to public.
and a new removeServerItemsProvider method was added.