Added read/write interfaces.