Clean up of the module