Add some read/write methods.