Set version to 1.3.1-beta2.