Added Unload method to HExtension.