added deprecated remove callback