Bumped version number to 3.1.0.