Raise package version to 0.3.1.
Merge branch 'release/v0.3.1'