Added mod_destroy()