Implement undo() method to reverse module actions. If a module can't fully reverse its actions, it should be always considered unsafe to run.