continued textSerialize. Now stores fields of sub-classes. Methods can
be defined to be executed before saving or after loading.