None of this callback code was necessary.