Clean up *Main files.