Make readCallback a member function