5.48: reverted to the former method for deleting callbacks