Avoiding serialisation of config.

It may now contain an actor system, which is not serialisable.