Cleanup in modules.