I'd recommend having a unified ClassLoader strategy, i.e. always use the proper one. See ActorSystem for inspiration.