Start converting protocol reader to use a handler class rather than callbacks.