Cleanup before release.