Make the classloader used in DiscoverableSubtypeResolver more easily changeable