As with `register_callback`, this method shouldn't "silently fail" if the user tries to deregister a non-existent callback. It's up to the user to use your public interface properly.