Added unload method to addons to make it possible to remove them on clear.