Prepare release v3.1.