Cleanup of unused modules.