Implemented chs_read and stubbed functions.