Default legacy registerCallback