Added serialization support for futures and clients