Changed interface for reader_init