Fully implement unregister