Added onUnload method to modules; Call this method when a module is unloaded, but also call it when the module is loaded, in case it is being reloaded.