Unregister takes an additional argument.