Serialization of the pool. Fixed construction of target.
Test on serialization commented out