Basic object read/write