mark old callback methods as deprecated