The usual way of bringing a module up or down is to provide two functions: one for initialization and one for shutdown. Since we want the module to be as little intrusive as possible, there should be an automatic mechanism to take care of this without forcing the programmer to use such functions.