Implemented module unload