Fix the unload logic inside components, designs and test-benches.