Update for new GoTK3 callback API.