Bumped up version number to 3.1.0-BETA2.