Prepare 0.3.1 release.