Updates release number to 0.3.1.