Cleanup and archive.