Sending extended class instances through RPC.