Prepare 3.1.0 release.