Version bump to 3.1 for the latest changes