Now able to read/write a simple class instance hiearchy.