Added object reader and writer