Fix: Deleting a module will also delete defined tasks.