Make readDoneCallback a member function