Unload things correctly.