I/O of User Defined Types