Allow modules to register Unload function.