Defined API interfaces for reader/writer