Cleaning the modules