Change how spies are retrieved. Use a service loader implementation that will also be available for plugins. Introduce a 'foreign agents' metaphor for plugins.