Added method to write a Value object to a Client and save the file.