public static ProxyFactory createProxyFactory(ExtensionPointRegistry registry,
InterfaceContractMapper mapper,
MessageFactory messageFactory) {
ProxyFactory proxyFactory = new DefaultProxyFactoryExtensionPoint(messageFactory, mapper);
// FIXME Pass these around differently as they are not extension points
registry.addExtensionPoint(proxyFactory);
registry.addExtensionPoint(mapper);