Use callbacks for speculative parsing.