Add method to deregister all callbacks