Bumped up version numbers to 3.1.0-BETA2.