Modules: Only call onUnload() when it exists in module